import request from '@/util/request'

export function listCompanyResource(data) {
  return request({
    url: '/iot/company/resource/list',
    method: 'post',
    data
  })
}
export function pageGetCompanyResource(data) {
  return request({
    url: '/iot/company/resource/pageGet',
    method: 'post',
    data
  })
}
export function deleteCompanyResource(data) {
  return request({
    url: '/iot/company/resource/delete',
    method: 'post',
    data
  })
}
export function updateCompanyResource(data) {
  return request({
    url: '/iot/company/resource/update',
    method: 'post',
    data
  })
}
export function insertCompanyResource(data) {
  return request({
    url: '/iot/company/resource/insert',
    method: 'post',
    data
  })
}

